package cn.iocoder.yudao.framework.license;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 许可证 数据实体
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/04/05
 */
@Data
public class LicenseEntity implements Serializable {

    @Schema(description = "程序名称")
    private String programName;

    @Schema(description = "持有人名称，如机器码、域名")
    private String holderName;

    @Schema(description = "颁发时间")
    private LocalDateTime issueTime;

    @Schema(description = "过期时间")
    private LocalDateTime expireTime;

    @Schema(description = "签名，防篡改")
    private String signature;

}
